package com.lt.exam.mubanfangfa;

import com.lt.exam.zhuhemoshi.Composite;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.exam
 * @ClassName YiYuan
 * @Description to do
 * @date 2021/11/30 11:23
 */
public abstract class YiYuan {
    //完成看病的五个步骤
    public final void kanBing(){
        guaHao();
        queZheng();
        fuFei();
        zhiLiao();
        jieShuZhiLiao();
    }
    //挂号
    public abstract void guaHao();
    //确诊
    public abstract void queZheng();
    //付费
    public abstract void fuFei();
    //治疗
    public abstract void zhiLiao();
    //结束治疗
    public abstract void jieShuZhiLiao();
}
